package com.camel.base.feign;

import com.camel.core.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.io.Serializable;

/**
 * @author 86183
 */
@FeignClient(value = "system", path = "system", contextId = "param")
public interface SysParamService {


    /**
     * 查询参数详情
     *
     * @param name
     * @return
     */
    @GetMapping("/sysParam/byName")
    Result getByCode(@RequestParam("name") String name);
}
